package com.zp.crm.dao.MenuDao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.zp.crm.entity.Menu.MenuEntity;

public interface MenuDao {

	List<MenuEntity> selectByKeyInRoid(@Param(value="r_m")List<Integer> menuid);

	List<MenuEntity> select();

	int insert(MenuEntity entity);
	
	int update(MenuEntity entity);
	
	int delete(@Param(value="id")int id);

	MenuEntity selectById(@Param(value="id")int id);

}
